# 给对象增加属性
class Person:
    pass
p = Person()

p.age = 18
p.height = 180

print(p.age)
print(p.height)

print(p.__dict__)
#print(p.sex)

# 修改属性
p.height = 170

print(p.__dict__)

del p.height

print(p.__dict__)

obj =  {'name':'wyl350', 'age':11}
del obj['name']

print(obj)

